/**
 * 接口列表文件
 */
export default {
  v1: {
    init: {
      url: 'index/init',
      auth: false,
      method: 'GET',
      // desc: '初始化数据'
    },
    /* 一番赏 信息 */

    //一番赏信息
    yfsinfo: {
      url: 'yfs/{id}',
      auth: false,
      method: 'GET',
      // desc: '初始化数据'
    },
    //箱子列表
    yfsboxs: {
      url: 'yfs/{id}/boxs',
      auth: false,
      method: 'GET',
      // desc: '箱子列表'
    },
    //箱子总数
    yfsboxstotal: {
      url: 'yfs/{id}/boxs/action/total',
      auth: false,
      method: 'GET',
      // desc: '箱子总数'
    },
    //箱子详情
    yfsBoxsAction: {
      url: 'yfs/{id}/boxs/{box_id}/action/{action}',
      auth: false,
      method: 'GET',
      // desc: '箱子详情'
    },
    //抽奖
    yfsRoll: {
      url: 'yfs/{id}/roll',
      auth: true,
      method: 'POST',
      // desc: '抽奖'
    },
    //开奖记录
    yfsHistory: {
      url: 'yfs/{id}/boxs/{box_id}/winning-log',
      auth: false,
      method: 'GET',
      // desc: '开奖记录'
    },
    //详情规则
    yfsRules: {
      url: 'yfs/{id}/details',
      auth: false,
      method: 'GET',
      // desc: '详情规则'
    },
    /* 一番赏 end */

    /* 福袋 */
    //福袋基础信息
    luckybag: {
      url: 'luckybag/{id}',
      auth: false,
      method: 'GET',
      // desc: '福袋基础信息'
    },
    //福袋商品列表
    luckybagGoodsList: {
      url: 'luckybag/{id}/goods-list',
      auth: false,
      method: 'GET',
      // desc: '福袋商品列表'
    },
    //福袋抽奖
    luckybagRoll: {
      url: 'luckybag/{id}/roll',
      auth: true,
      method: 'POST',
      // desc: '福袋抽奖'
    },
    //开奖记录
    luckybagHistory: {
      url: 'luckybag/{id}/winning-log',
      auth: false,
      method: 'GET',
      // desc: '开奖记录'
    },
    //获取幸运值
    luckybagLucky: {
      url: 'luckybag/{id}/lucky-value',
      auth: true,
      method: 'GET',
      // desc: '获取幸运值'
    },
    //领取幸运值宝箱
    luckybagExpendLucky: {
      url: 'luckybag/{id}/expend-lucky-value',
      auth: true,
      method: 'POST',
      // desc: '领取幸运值宝箱'
    },
    //详情规则
    luckybagRules: {
      url: 'luckybag/{id}/details',
      auth: false,
      method: 'GET',
      // desc: '详情规则'
    },
    //活动列表
    activitysList: {
      url: 'activitys',
      auth: false,
      method: 'POST',
    },
    //用户盒柜数量
    boxcabinet: {
      url: 'box-cabinet/amount/{id}',
      auth: false,
      method: 'GET',
    },
    // 获取用户道具卡数量
    luckybagPropCount: {
      url: 'luckybag/{id}/prop/count',
      auth: false,
      method: 'GET',
      // desc: '获取用户道具卡数量'
    },
    // 使用道具卡
    luckybagPropUseType: {
      url: 'luckybag/{id}/prop/use/type/{type}',
      auth: false,
      method: 'POST',
      // desc: '使用道具卡'
    },
    /* 福袋  end */

    /* 交易 */
    createOrder: {
      url: 'activitys/create-order',
      auth: false,
      method: 'POST',
      // desc: '创建交易订单'
    },
    //拉起支付
    prepay: {
      url: 'pay/prepay',
      auth: false,
      method: 'POST',
      // desc: '拉起支付'
    },
    //详情规则
    activitysDetails: {
      url: 'activitys/details/{activity_id}/type/{type}',
      auth: false,
      method: 'GET',
      // desc: '详情规则'
    },

    /* 交易 end*/

    /*  商品 */
    goodsDetails: {
      url: 'activitys/goods/{goods_id}',
      auth: false,
      method: 'GET',
      // desc: '商品详情'
    },

    /*  商品 end*/

    /* 首页 */
    //我的道具卡
    getUsersProp: {
      url: 'users/prop',
      auth: true,
      method: 'GET',
      //desc:'我的道具卡'
    },
    // 分享成功
    getShareSuccess: {
      url: 'users/share-success',
      auth: true,
      method: 'GET',
      //desc:'分享成功'
    },
    // 签到
    getUsersSignIn: {
      url: 'users/sign',
      auth: true,
      method: 'POST',
      //desc:'签到'
    },
    // 兑换码兑奖
    getUsersCdkey: {
      url: 'users/cdkey',
      auth: true,
      method: 'POST',
      //desc:'兑换码兑奖'
    },

    //公告
    getNotice: {
      url: 'notice',
      auth: false,
      method: 'GET',
    },
    //首页轮播图
    getIndexSlideshow: {
      url: 'my/slideshow/home',
      auth: false,
      method: 'GET',
    },
    //获取热门搜索
    getSearchHot: {
      url: 'search/hot',
      auth: false,
      method: 'GET',
    },
    //获取用户协议和运费说明
    getProtocol: {
      url: 'protocol',
      auth: false,
      method: 'GET',
    },
    //我的页面轮播图
    getSlideshow: {
      url: 'my/slideshow',
      auth: false,
      method: 'GET',
    },
    //获取浏览足迹
    getFootmark: {
      url: 'my/footmark',
      auth: true,
      method: 'GET',
    },
    // 登录
    userLogin: {
      url: 'users/login',
      auth: false,
      method: 'POST',
    },
    //注册
    userRegister: {
      url: 'users/register',
      auth: false,
      method: 'POST',
    },
    //短信登陆
    smsLogin: {
      url: 'users/sms-login',
      auth: false,
      method: 'POST',
    },
    //改绑手机号
    modifyMobile: {
      url: 'users/modify-mobile',
      auth: false,
      method: 'POST',
    },
    //发送短信
    smsSend: {
      url: 'users/sms-send',
      auth: false,
      method: 'POST',
    },
    //获取分销权限
    distribution: {
      url: 'distribution',
      auth: false,
      method: 'GET',
    },
    /* 首页 end */

    /* 盒柜 */
    // 盒柜列表
    getBox_cabinetList: {
      url: 'box-cabinet',
      auth: true,
      method: 'GET',
    },
    //确认快速寄售
    yesRecycle: {
      url: 'box-cabinet/recycle',
      auth: true,
      method: 'POST',
    },
    //快速寄售确认页列表
    affirm_recycleList: {
      url: 'box-cabinet/affirm-recycle',
      auth: true,
      method: 'POST',
    },
    //发货页列表
    affirm_deliverList: {
      url: 'box-cabinet/affirm-deliver',
      auth: true,
      method: 'POST',
    },
    //确认发货
    yesDeliver: {
      url: 'box-cabinet/deliver',
      auth: true,
      method: 'POST',
    },
    //调起支付
    toGetpay: {
      url: 'demo/test1',
      auth: true,
      method: 'GET',
    },
    //来源(活动类型)列表
    getCabinet: {
      url: 'box-cabinet/source',
      auth: true,
      method: 'GET',
    },
    /* 盒柜end */

    /* 爱玩满开 */
    getFullOpen: {
      url: 'full-open/{id}',
      auth: false,
      method: 'GET',
      // desc: '满开基础信息'
    },
    getFullOpenBoxsAction: {
      url: 'full-open/{id}/boxs/action/{action}',
      auth: false,
      method: 'GET',
      // desc: '获取箱盒总数'
    },
    getFullOpenBoxs: {
      url: 'full-open/{id}/boxs/{box_id}',
      auth: false,
      method: 'GET',
      // desc: '箱盒详情'
    },
    getfullOpenBoxsList: {
      url: 'full-open/{id}/boxs',
      auth: false,
      method: 'GET',
      // desc: '箱盒列表'
    },
    getfullOpenBoxsLog: {
      url: 'full-open/{id}/boxs/{box_id}/winning-log',
      auth: false,
      method: 'GET',
      // desc: '开奖记录'
    },
    getfullOpenBoxsopenRes: {
      url: 'full-open/{id}/boxs/{box_id}/open-res',
      auth: false,
      method: 'GET',
      // desc: '开奖结果'
    },
    getfullOpenBoxsChooseBoxs: {
      url: 'full-open/{id}/boxs/{box_id}/choose-boxs',
      auth: false,
      method: 'GET',
      // desc: '选盒列表'
    },
    getfullOpenRoll: {
      url: 'full-open/{id}/roll',
      auth: true,
      method: 'POST',
      // desc: '抽奖'
    },
    getfullOpenRes: {
      url: 'user-full-open-res',
      auth: true,
      method: 'GET',
      // desc: '查询用户是否有满开开奖结果未查看'
    },
    /* 爱玩满开 end */

    /* 直购和预售 */
    getgoods: {
      url: 'goods',
      auth: false,
      method: 'POST',
      // desc: '商品列表'
    },
    getgoodsDetail: {
      url: 'goods/{id}',
      auth: false,
      method: 'GET',
      // desc: '商品详情'
    },
    /* 直购和预售 end*/

    /* 订单中心 */
    getOrderList: {
      url: 'order',
      auth: true,
      method: 'GET',
      // desc: '订单列表'
    },
    deleteRefundOrder: {
      url: 'order/{id}',
      auth: true,
      method: 'DELETE',
      // desc: '删除订单'
    },
    getOrderDetail: {
      url: 'order/{id}',
      auth: true,
      method: 'GET',
      // desc: '订单详情'
    },
    /* 订单中心end */

    /* 优惠券 */
    couponCenterList: {
      url: 'coupon',
      auth: true,
      method: 'POST',
      // desc: '领券中心优惠券列表'
    },
    getCouponList: {
      url: 'coupon/user',
      auth: true,
      method: 'GET',
      // desc: '我的优惠券列表'
    },
    getCoupon: {
      url: 'coupon/{id}/get',
      auth: true,
      method: 'POST',
      // desc: '领取优惠券'
    },
    /* 优惠券end */

    /* 排行榜 */
    getRankList: {
      url: 'rank',
      auth: true,
      method: 'GET',
      // desc: '排行榜列表'
    },
    getCurrent_award: {
      url: 'rank/current_award',
      auth: true,
      method: 'GET',
      // desc: '本期奖品'
    },
    getMy_award: {
      url: 'rank/my_award',
      auth: true,
      method: 'GET',
      // desc: '我的奖品'
    },
    /* 排行榜end */
  },
  /** 公共 ↓ **/
  common: {
    init: {
      url: 'index/init',
      auth: false,
      method: 'GET',
      // desc: '初始化数据'
    },
    chat: {
      url: 'chat.index/init',
      auth: false,
      method: 'GET',
      // desc: '初始化聊天配置',
    },
    upload: {
      url: 'index/upload',
      auth: true,
      method: 'POST',
      // desc: '上传图片',
    },
    template: {
      url: 'index/template',
      auth: false,
      method: 'GET',
      // desc: '模板信息'
    },
    custom: {
      url: 'index/custom',
      auth: false,
      method: 'GET',
      // desc: '自定义模板页面',
    },
    live: {
      url: 'live',
      auth: false,
      method: 'GET',
      // desc: '直播列表',
    },
    wxJssdk: {
      url: 'wechat/jssdk',
      auth: false,
      method: 'POST',
      // desc: '微信Jssdk',
    },
    syncPages: {
      url: 'index/asyncPages',
      auth: false,
      method: 'POST',
      // desc: '路由表 DEV开发模式下有效'
    },
    debug: {
      url: 'index/debugLog',
      auth: false,
      method: 'POST',
      // desc: '上传DEBUG信息',
    },
    richText: {
      url: 'index/richtext',
      auth: false,
      method: 'GET',
      // desc: '富文本数据',
    },
    shareAdd: {
      url: 'share/add',
      auth: false,
      method: 'POST',
      // desc: '添加分享记录',
    },
    smsSend: {
      url: 'sms/send',
      auth: false,
      method: 'POST',
      // desc: '发送短信',
    },
  },

  /** 分类 ↓ **/
  category: {
    info: {
      url: 'category/detail',
      auth: false,
      method: 'GET',
      // desc: '分类类别',
    },
    detail: {
      url: 'category',
      auth: false,
      method: 'GET',
      // desc: '分类详情',
    },
    list: {
      url: 'category/list',
      auth: false,
      method: 'GET',
      // desc: '首页分类商品列表',
    },
  },

  /** 门店 ↓ **/
  store: {
    list: {
      url: 'store/index',
      auth: true,
      method: 'GET',
      // desc: '商户列表，不需要storeId',
    },
    info: {
      url: 'store.store/index',
      auth: true,
      method: 'GET',
      // desc: '商户信息',
    },
    order: {
      url: 'store.order/index',
      auth: true,
      method: 'GET',
      // desc: '商户订单',
    },
    orderDetail: {
      url: 'store.order/detail',
      auth: true,
      method: 'GET',
      // desc: '订单详情',
    },
    orderSend: {
      url: 'store.order/send',
      auth: true,
      method: 'POST',
      // desc: '订单发货',
    },
    orderConfirm: {
      url: 'store.order/confirm',
      auth: true,
      method: 'POST',
      // desc: '核销订单',
    },
    apply: {
      url: 'store.apply/apply',
      auth: true,
      method: 'POST',
      // desc: '申请门店',
    },
    shopInfo: {
      url: 'store.apply/info',
      auth: true,
      method: 'POST',
      // desc: '门店信息',
    },
  },

  /** 商品 ↓ **/
  goods: {
    lists: {
      url: 'goods/lists',
      auth: false,
      method: 'GET',
      // desc: '商品列表',
    },
    seckillList: {
      url: 'goods/seckillList',
      auth: false,
      method: 'GET',
      // desc: '秒杀列表',
    },
    activity: {
      url: 'goods/activity',
      auth: false,
      method: 'GET',
      // desc: '活动商品',
    },
    myGroupon: {
      url: 'activity_groupon/myGroupon',
      auth: true,
      method: 'GET',
      // desc: '我的拼团',
    },
    grouponDetail: {
      url: 'activity_groupon/detail',
      auth: false,
      method: 'GET',
      // desc: '拼团详情',
    },
    grouponItem: {
      url: 'activity_groupon/index',
      auth: false,
      method: 'GET',
      // desc: '拼购列表',
    },
    grouponList: {
      url: 'goods/grouponList',
      auth: false,
      method: 'GET',
      // desc: '拼团商品列表',
    },
    detail: {
      url: 'goods/detail',
      auth: false,
      method: 'GET',
      // desc: '商品详情',
    },
    favorite: {
      url: 'goods/favorite',
      auth: true,
      method: 'POST',
      // desc: '商品收藏',
    },

    storeAddress: {
      url: 'goods/store',
      auth: true,
      method: 'GET',
      // desc: '商品支持的自提点',
    },
    scoreList: {
      url: 'score_goods_sku_price/index',
      auth: false,
      method: 'GET',
      // desc: '积分商品列表',
    },
    scoreDetail: {
      url: 'score_goods_sku_price/detail',
      auth: false,
      method: 'GET',
      // desc: '积分详情',
    },
    commentList: {
      url: 'goods_comment/index',
      auth: false,
      method: 'GET',
      // desc: '商品评论列表',
    },
    commentType: {
      url: 'goods_comment/type',
      auth: false,
      method: 'GET',
      // desc: '商品评论分类',
    },
  },

  /** 用户 ↓ **/
  user: {
    accountLogin: {
      url: 'user/accountLogin',
      auth: false,
      method: 'POST',
      // desc: '账号密码登录',
    },

    smsLogin: {
      url: 'user/smsLogin',
      auth: false,
      method: 'POST',
      // desc: '短信登录',
    },

    register: {
      url: 'user/register',
      auth: false,
      method: 'POST',
      // desc: '注册',
    },

    forgotPwd: {
      url: 'user/forgotPwd',
      auth: false,
      method: 'POST',
      // desc: '重置密码',
    },

    bindMobile: {
      url: 'user/bindMobile',
      auth: true,
      method: 'POST',
      // desc: '修改手机号',
    },

    changePwd: {
      url: 'user/changePwd',
      auth: true,
      method: 'POST',
      // desc: '修改密码',
    },

    info: {
      url: 'user',
      auth: true,
      method: 'GET',
      // desc: '用户信息'
    },

    profile: {
      url: 'user/profile',
      auth: true,
      method: 'POST',
      // desc: '修改用户信息'
    },
    logout: {
      url: 'user/logout',
      auth: true,
      method: 'POST',
      // desc: '退出登录'
    },
    delete: {
      url: 'user/delete',
      auth: true,
      method: 'POST',
      // desc: '注销账号'
    },

    getWxMiniProgramSessionKey: {
      url: 'user/getWxMiniProgramSessionKey',
      auth: false,
      method: 'POST',
      // desc: '获取用户session_key',
    },

    wxMiniProgramOauth: {
      url: 'user/wxMiniProgramOauth',
      auth: false,
      method: 'POST',
      // desc: '微信小程序登录',
    },

    wxOpenPlatformOauth: {
      url: 'user/wxOpenPlatformOauth',
      auth: false,
      method: 'POST',
      // desc: '微信APP登录',
    },

    thirdOauthInfo: {
      url: 'user/thirdOauthInfo',
      auth: true,
      method: 'GET',
      // desc: '第三方绑定信息',
    },
    unbindThirdOauth: {
      url: 'user/unbindThirdOauth',
      auth: true,
      method: 'POST',
      // desc: '解绑信息',
    },

    signList: {
      url: 'user_sign/index',
      auth: true,
      method: 'GET',
      // desc: '签到记录',
    },
    sign: {
      url: 'user_sign/sign',
      auth: true,
      method: 'POST',
      // desc: '签到',
    },
    messageIds: {
      url: 'notification/template',
      auth: false,
      method: 'GET',
      // desc: '订阅消息模板ids',
    },
    favoriteList: {
      url: 'goods/favoriteList',
      auth: true,
      method: 'GET',
      // desc: '商品收藏列表',
    },
    viewList: {
      url: 'goods/viewList',
      auth: true,
      method: 'GET',
      // desc: '足迹列表'
    },
    viewDelete: {
      url: 'goods/viewDelete',
      auth: true,
      method: 'POST',
      // desc: '删除足迹'
    },
    userData: {
      url: 'user/userData',
      auth: true,
      method: 'GET',
      // desc: '用户其他信息',
    },
    appleIdOauth: {
      url: 'user/appleIdOauth',
      auth: false,
      method: 'POST',
      // desc: 'appleId授权',
    },
  },

  /** 位置 ↓ **/
  address: {
    area: {
      url: 'address/area',
      auth: false,
      method: 'GET',
      // desc: '省市区',
    },
    list: {
      url: 'address',
      auth: true,
      method: 'GET',
      // desc: '地址列表',
    },
    edit: {
      url: 'address/edit',
      auth: true,
      method: 'POST',
      // desc: '修改地址',
    },
    defaults: {
      url: 'address/defaults',
      auth: true,
      method: 'GET',
      // desc: '默认地址',
    },
    info: {
      url: 'address/info',
      auth: true,
      method: 'GET',
      // desc: '地址详情',
    },
    del: {
      url: 'address/del',
      auth: true,
      method: 'POST',
      // desc: '删除',
    },
  },

  /** 常见问题 ↓ **/
  other: {
    faqList: {
      url: 'faq',
      auth: false,
      method: 'GET',
      // desc: '常见问题列表',
    },
    feedbackType: {
      url: 'feedback/type',
      auth: true,
      method: 'GET',
      // desc: '意见反馈类型',
    },
    feedbackAdd: {
      url: 'feedback/add',
      auth: true,
      method: 'POST',
      // desc: '提交意见',
    },
    commentAdd: {
      url: 'comment/submit',
      auth: true,
      method: 'POST',
      // desc: '提交评论',
    },
    commentList: {
      url: 'comment/list',
      auth: true,
      method: 'GET',
      // desc: '评论列表',
    },
  },

  /** 购物车 ↓ **/
  cart: {
    index: {
      url: 'cart',
      auth: true,
      method: 'POST',
      // desc: '购物车商品列表',
    },
    add: {
      url: 'cart/add',
      auth: true,
      method: 'POST',
      // desc: '添加购物车',
    },

    edit: {
      url: 'cart/edit',
      auth: true,
      method: 'POST',
      // desc: '编辑购物车',
    },
  },

  /** 订单 ↓ **/
  order: {
    index: {
      url: 'order/index',
      auth: true,
      method: 'GET',
      // desc: '订单列表',
    },
    pre: {
      url: 'order/pre',
      auth: true,
      method: 'POST',
      // desc: '预备提交订单',
    },
    createOrder: {
      url: 'order/createOrder',
      auth: true,
      method: 'POST',
      // desc: '提交订单',
    },
    detail: {
      url: 'order/detail',
      auth: true,
      method: 'GET',
      // desc: '订单详情',
    },
    itemDetail: {
      url: 'order/itemDetail',
      auth: true,
      method: 'GET',
      // desc: '订单商品详情',
    },
    confirm: {
      url: 'order/confirm',
      auth: true,
      method: 'POST',
      // desc: '确认收货',
    },
    cancel: {
      url: 'order/cancel',
      auth: true,
      method: 'POST',
      // desc: '取消订单',
    },
    comment: {
      url: 'order/comment',
      auth: true,
      method: 'POST',
      // desc: '评价商品',
    },
    coupons: {
      url: 'order/coupons',
      auth: true,
      method: 'POST',
      // desc: '商品可用优惠券',
    },
    aftersale: {
      url: 'order_aftersale/aftersale',
      auth: true,
      method: 'POST',
      // desc: '申请售后',
    },
    aftersaleList: {
      url: 'order_aftersale/index',
      auth: true,
      method: 'GET',
      // desc: '售后列表',
    },
    aftersaleDetail: {
      url: 'order_aftersale/detail',
      auth: true,
      method: 'GET',
      // desc: '售后列表详情',
    },
    deleteOrder: {
      url: 'order/delete',
      auth: true,
      method: 'POST',
      // desc: '删除订单',
    },
    deleteAftersaleOrder: {
      url: 'order_aftersale/delete',
      auth: true,
      method: 'POST',
      // desc: '删除售后订单',
    },
    cancelAftersaleOrder: {
      url: 'order_aftersale/cancel',
      auth: true,
      method: 'POST',
      // desc: '取消售后订单',
    },
    expressList: {
      url: 'order_express/index',
      auth: true,
      method: 'GET',
      // desc: '包裹列表',
    },
    expressDetail: {
      url: 'order_express/detail',
      auth: true,
      method: 'GET',
      // desc: '包裹详情',
    },
    itemDetail: {
      url: 'order/itemDetail',
      auth: true,
      method: 'GET',
      // desc: '订单商品详情',
    },
  },

  /** 支付金钱 ↓ **/
  money: {
    prepay: {
      url: 'pay/prepay',
      auth: true,
      method: 'POST',
      // desc: '发起支付',
    },
    walletApply: {
      url: 'user_wallet_apply/apply',
      auth: true,
      method: 'POST',
      // desc: '申请提现'
    },
    walletRule: {
      url: 'user_wallet_apply/rule',
      auth: true,
      method: 'GET',
      // desc: '提现规则'
    },
    walletLog: {
      url: 'user_wallet_log',
      auth: true,
      method: 'GET',
      // desc: '钱包,积分明细'
    },
    bankInfo: {
      url: 'user_bank/info',
      auth: true,
      method: 'GET',
      // desc: '银行卡信息'
    },
    bankEdit: {
      url: 'user_bank/edit',
      auth: true,
      method: 'POST',
      // desc: '编辑银行卡信息'
    },
    withdrawLog: {
      url: 'user_wallet_apply/index',
      auth: true,
      method: 'GET',
      // desc: '提现记录'
    },
    recharge: {
      url: 'trade_order/recharge',
      auth: true,
      method: 'POST',
      // desc: '充值'
    },
    rechargeLog: {
      url: 'trade_order/index',
      auth: true,
      method: 'GET',
      // desc: '充值记录'
    },
    rechargeDetail: {
      url: 'trade_order/detail',
      auth: true,
      method: 'GET',
      // desc: '充值订单详情'
    },
  },

  /** 优惠券 ↓ **/
  coupons: {
    list: {
      url: 'coupons',
      auth: false,
      method: 'GET',
      // desc: '个人中心优惠券列表',
    },
    templateList: {
      url: 'coupons/lists',
      auth: false,
      method: 'GET',
      // desc: '首页优惠券',
    },
    get: {
      url: 'coupons/get',
      auth: true,
      method: 'GET',
      // desc: '领取',
    },
    detail: {
      url: 'coupons/detail',
      auth: true,
      method: 'GET',
      // desc: '购物券详情',
    },
    goods: {
      url: 'coupons/goods',
      auth: false,
      method: 'GET',
      // desc: '适用商品',
    },
  },

  /** 分销 ↓ **/
  commission: {
    auth: {
      url: 'commission.agent/info',
      auth: true,
      method: 'GET',
      // desc: '分销身份鉴权',
    },
    log: {
      url: 'commission.log/index',
      auth: true,
      method: 'GET',
      // desc: '分销动态',
    },
    goods: {
      url: 'commission.goods/index',
      auth: true,
      method: 'GET',
      // desc: '分销商品',
    },
    ranking: {
      url: 'commission.agent/ranking',
      auth: true,
      method: 'GET',
      // desc: '分销商排行榜',
    },
    form: {
      url: 'commission.agent/agentForm',
      auth: true,
      method: 'GET',
      // desc: '申请成为分销商表单',
    },
    apply: {
      url: 'commission.agent/applyForm',
      auth: true,
      method: 'POST',
      // desc: '申请成为分销商',
    },
    team: {
      url: 'commission.agent/team',
      auth: true,
      method: 'GET',
      // desc: '我的团队',
    },
    share: {
      url: 'share/index',
      auth: true,
      method: 'GET',
      // desc: '分享记录',
    },
    orderLog: {
      url: 'commission.order/index',
      auth: true,
      method: 'GET',
      // desc: '分销订单',
    },
    rewardLog: {
      url: 'commission.reward/index',
      auth: true,
      method: 'GET',
      // desc: '佣金记录',
    },
    lv: {
      url: 'commission.agent/level',
      auth: true,
      method: 'GET',
      // desc: '佣金记录',
    },
  },
};
